package com.example.mybatisplus;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author longdeng
 * @Date 2020/9/17 0017 23:09
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableAspectJAutoProxy
@MapperScan(basePackages = {
        "com.example.*.des",
        "com.example.mybatisplus.tag.dao",
        "com.example.mybatisplus.dynamic.mapper",
        "com.example.mybatisplus.lock.mapper",
        "com.example.mybatisplus.video.mapper",
        "com.example.mybatisplus.pageplus",
        "com.example.mybatisplus.tx.dao.mapper"
        })
public class MybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(MybatisApplication.class, args);
    }
}
